package utils;

/**
 * Created by lincl on 2018/12/6.
 */
public class StringUtils {

    public static boolean isNullOrEmpty(String text){
        return text==null || text.trim().equals("");
    }

    public static String trim(String text){
        return text==null? null : text.trim();
    }
}
